package com.mutouren.common.entity;


public class ResultInfo<T> extends Result {
	
	private T info;	
	
	public ResultInfo() {
		super();
	}
	
	public ResultInfo(int code, String message) {
		super(code, message);
	}
	
	public T getInfo() {
		return info;
	}

	public void setInfo(T info) {
		this.info = info;
	}

	@Override
	public String toString() {
		return String.format("code:%s,message:%s,info:%s", this.getCode(), this.getMessage(), info);
	}
}
